#ifndef _CENEMY_H_
#define _CENEMY_H_

#include "Object.h"

#define ACCELERATION_Y 3000
#define VELOCITY_X 3
#define VELOCITY_JUMP 5

enum ENEMY_STATUS{
	ENEMY_ON_AIR, ENEMY_RUN, ENEMY_DIE
};

class CEnemy : public CObject
{
private:
	int m_direct;
	ENEMY_STATUS m_status;
public:
	CEnemy(D3DXVECTOR2 pos);
	void Init() ;
	void Update(float gameTime, CInput* input);
	void UpdateAnimation(float gamTime, CInput* input);
	void Draw(LPD3DXSPRITE spriteHandler, CCamera* camera);
	OBJECT_TYPE GetType()
	{
		return OBJECT_ENEMY;
	}
};

#endif